/* jQuery UI Button */

.ui-button,
.ui-dialog.panels-admin-dialog .ui-dialog-titlebar-close {
	position: relative;
	
	background: #eee;
	background-image: -webkit-gradient(linear, left bottom, left top, from(#e3e3e3), to(#fff));
	background-image: -webkit-linear-gradient(bottom, #e3e3e3, #fff);
	background-image: -moz-linear-gradient(bottom, #e3e3e3, #fff);
	background-image: -o-linear-gradient(bottom, #e3e3e3, #fff);
	background-image: linear-gradient(to top, #e3e3e3, #fff);
	border: 1px solid #aaa;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-moz-box-shadow: 0 1px 1px rgba(0,0,0,0.06);
	-webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.06);
	box-shadow: 0 1px 1px rgba(0,0,0,0.06);
	cursor: pointer;
	display: inline-block;
	margin: 0;
	margin-right: .1em;
	overflow: visible;
	padding: 5px;
	text-align: center;
	text-decoration: none !important;
	zoom: 1;
}

.ui-button {
	background: #eee;
	background-image: -webkit-gradient(linear, left bottom, left top, from(#e5e5e5), to(#fff));
	background-image: -webkit-linear-gradient(bottom, #e5e5e5, #fff);
	background-image: -moz-linear-gradient(bottom, #e5e5e5, #fff);
	background-image: -o-linear-gradient(bottom, #e5e5e5, #fff);
	background-image: linear-gradient(to top, #e5e5e5, #fff);
	border: 1px solid #bbb;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
}

.ui-button.ui-button-icon-only .ui-button-text {
	display: none;
}

.ui-button .ui-icon {
	width: 8px;
	height: 8px;
	
	display: block;
}

.ui-button .ui-icon.ui-icon-add {
	background: url(images/icons/add.png);
}

.ui-button .ui-icon.ui-icon-prebuilt {
	background: url(images/icons/brush.png);
}

.ui-button .ui-icon.ui-icon-columns {
	background: url(images/icons/columns.png);
}

.ui-button .ui-icon.ui-icon-settings {
	background: url(images/icons/settings.png);
}

.ui-button .ui-icon.ui-icon-move {
	background: url(images/icons/move.png);
}

.ui-button .ui-icon.ui-icon-remove {
	background: url(images/icons/remove.png);
}

/* jQuery UI Dialog */

.ui-dialog.panels-admin-dialog {
	background: white;
	border: 1px solid #D0D0D0;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-moz-box-shadow: 0 0 5px rgba(0,0,0,0.3);
	-webkit-box-shadow: 0 0 5px rgba(0,0,0,0.3);
	box-shadow: 0 0 5px rgba(0,0,0,0.3);
	padding: 0 !important;
	z-index: 300002;
}

.ui-dialog.panels-admin-dialog .ui-dialog-buttonpane {
	background: #f1f1f1;
	border: none;
	border-top: 1px solid #dddddd;
}

.ui-dialog.panels-admin-dialog .ui-dialog-titlebar {
	position: relative;
	
	background: #e0e0e0;
	background-image: -webkit-gradient(linear, left bottom, left top, from(#e0e0e0), to(#ededed));
	background-image: -webkit-linear-gradient(bottom, #e0e0e0, #ededed);
	background-image: -moz-linear-gradient(bottom, #e0e0e0, #ededed);
	background-image: -o-linear-gradient(bottom, #e0e0e0, #ededed);
	background-image: linear-gradient(to top, #e0e0e0, #ededed);
	border: 1px solid #ccc;
	border-color: #ccc #ccc #c0c0c0 #ccc;
	-webkit-border-top-left-radius: 3px;
	border-top-left-radius: 3px;
	-webkit-border-top-right-radius: 3px;
	border-top-right-radius: 3px;
	color: #505050;
	font-size: 14px;
	font-weight: 500;
	margin: -1px -1px 0 -1px;
	padding: 8px 10px;
	text-shadow: rgba(255,255,255,0.6) 0px 1px 0px;
}

.ui-dialog.panels-admin-dialog .ui-dialog-titlebar-close {
	position: absolute;
	top: 50%;
	right: 8px;
	
	margin-top: -10px;
}

.ui-dialog.panels-admin-dialog .ui-dialog-titlebar-close .ui-icon {
	width: 8px;
	height: 8px;
	
	background: url(images/icons/close.png);
	display: block;
}

.ui-dialog.panels-admin-dialog .ui-dialog-content,
.ui-dialog.panels-admin-dialog .ui-dialog-buttonpane {
	padding: 12px;
}

.ui-dialog.panels-admin-dialog .ui-dialog-buttonpane {
	padding: 5px;
}

.ui-dialog.panels-admin-dialog .ui-dialog-content {
	max-height: 600px;
	overflow: auto;
}

.ui-dialog.panels-admin-dialog .ui-dialog-content *:first-child {
	margin-top: 0;
}

.ui-dialog.panels-admin-dialog .ui-dialog-content *:last-child {
	margin-bottom: 0;
}

.ui-dialog.panels-admin-dialog label {
	color: #333;
	display: inline-block;
}

.ui-dialog.panels-admin-dialog p:hover label {
	color: #1c1c1c;
}

.ui-dialog.panels-admin-dialog textarea,
.ui-dialog.panels-admin-dialog input.widefat {
	margin-top: 6px;
}

.ui-dialog.panels-admin-dialog .ui-dialog-content p {
	margin: 15px 0 5px 0;
}

.ui-dialog.panels-admin-dialog .ui-dialog-content p.description {
	margin-top: 5px;
}

.ui-dialog.panels-admin-dialog .ui-dialog-buttonpane .ui-button {
	margin-right: 8px;
}

.ui-dialog.panels-admin-dialog .ui-dialog-buttonpane .ui-button {
	background-color: #278ab7;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#2e9fd2), to(#21759b));
	background-image: -webkit-linear-gradient(top, #2e9fd2, #21759b);
	background-image: -moz-linear-gradient(top, #2e9fd2, #21759b);
	background-image: -ms-linear-gradient(top, #2e9fd2, #21759b);
	background-image: -o-linear-gradient(top, #2e9fd2, #21759b);
	background-image: linear-gradient(to bottom, #2e9fd2, #21759b);
	border-color: #1b607f;
	-webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.6);
	box-shadow: inset 0 1px 0 rgba(120,200,230,0.6);
	color: #fff;
	text-shadow: 0 -1px 0 rgba(0,0,0,0.3);
}

.ui-dialog.panels-admin-dialog .ui-dialog-buttonpane .ui-button.button-delete {
	background: #ca3a3a;
	background: -moz-linear-gradient(top, #df474a 0%, #b72d2a 100%);
	background: -webkit-linear-gradient(top, #f26352 0%,#d7584a 100%);
	background: -o-linear-gradient(top, #df474a 0%,#b72d2a 100%);
	background: -ms-linear-gradient(top, #df474a 0%,#b72d2a 100%);
	background: linear-gradient(to bottom, #df474a 0%,#b72d2a 100%);
	border-color: #c93f34;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
	color: #FFF;
	text-shadow: 0 -1px 0 rgba(0,0,0,0.3);
}

.ui-dialog.panels-admin-dialog .ui-dialog-content input,
.ui-dialog.panels-admin-dialog .ui-dialog-content textarea {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

